package com.example;

public class MyClass {

    public static void main(String[] args){
        Leak leak=new Leak();
        LeakManager manager=new LeakManager();
        manager.register(leak);
        leak=null;
        System.out.println("leak="+leak);
        manager.show();
    }
}
